﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lswweb.Domain.ResourceConfiguration
{
    public class ResourceLanguage : ResourceBase<string,string>
    {
        public ResourceLanguage(string filePath) : base(filePath) { }

        protected override KeyValuePair<string, string> GetPairByXmlNode(System.Xml.XmlNode node)
        {
            return new KeyValuePair<string, string>(
                node.Attributes["name"].Value,
                node.Attributes["value"].Value);
        }
    }
}
